﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MubiSDK.LoggingLib.Core.Interface
{
    /// <summary>
    /// 定义格式化器所必须要实现的方法
    /// </summary>
    public interface ILogFormatter
    {
        /// <summary>
        /// 将<see cref="LogMessage"/>对象格式化为字符串
        /// </summary>
        /// <param name="message">要格式化的日志消息</param>
        /// <returns>格式化后的日志字符串</returns>
        string Format(LogMessage message);
    }
}
